<template>
	<div>
		<van-swipe :loop="false">
			<van-swipe-item>
				<img src="../assets/yindao1.jpg" />
			</van-swipe-item>
			<van-swipe-item>
				<img src="../assets/yindao2.jpg" />
			</van-swipe-item>
			<van-swipe-item>
				<img src="../assets/yindao3.jpg" />
			</van-swipe-item>
			<van-swipe-item>
				<img src="../assets/yindao4.jpg" />
				<van-button type="default" @click="login()">立即体验</van-button>
			</van-swipe-item>
		</van-swipe>
	</div>
</template>

<script>
	export default {
		name: "Yindao",
		methods:{
			login(){
				this.$router.push('/index')
			}
		}
	}
</script>

<style scoped="">
	van-swipe{width: 100%;height: 100%;}
	img {
		width: 100%;
		height: 100%;
	}
	button {
		width: 154px;
		height: 34px;
		background: #d25661;
		color: #fdf8fe;
		font-size: 14px;
		border-radius: 17px;
		display: block;
		margin: 0px auto;
		line-height: 34px;
	}
</style>
